package ex.klmy.gov.bean;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.json.JsonField;

import java.util.Date;

/**
 * Created by xiaguoqiang on 16/11/3.
 */
@Table("[wbleadermail]")
public class LeaderMail{

    @Column("wbtitle")
    private String title;
    @Column("wbleadermailid")
    private String id;

    @JsonField(dateFormat="MM-dd hh:mm")
    @Column("wbdate")
    private Date date;
    @Column("wbreply")
    private boolean status;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
}
